package com.ctgu.module.admin.model;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("e_mailbox")
public class Mailbox implements Serializable {

    private static final long serialVersionUID = 1L;

    private String emailAddress;

    private Integer userId;

    private String code;

    @TableField(fill = FieldFill.INSERT)
    private Integer unreadNum;

    @TableField(fill = FieldFill.INSERT)
    private Integer junkNum;

    @TableField(fill = FieldFill.INSERT)
    private String popAddress;

    @TableField(fill = FieldFill.INSERT)
    private Integer popPort;

    @TableField(fill = FieldFill.INSERT)
    private String smtpAddress;

    @TableField(fill = FieldFill.INSERT)
    private Integer smtpPort;

}
